#!/bin/bash
# tested with:
# $ uname -a
# Linux MyComputerName 4.8.0-58-generic #63~16.04.1-Ubuntu SMP Mon Jun 26 18:08:51 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
# $ bluetoothd -v
# 5.37

sudo gdbserver --once localhost:8888 ./cmake-build-debug/linux-mqtt-sn-gateway

sudo gdbserver --once localhost:8888 ./cmake-build-debug/runAll_Tests --gtest_filter=LinuxUdpGateway_Connect_Test.Connect_withminimumclientidsize_return_accepted:LinuxUdpGateway_Connect_Test/*.Connect_withminimumclientidsize_return_accepted:*/LinuxUdpGateway_Connect_Test.Connect_withminimumclientidsize_return_accepted/*:*/LinuxUdpGateway_Connect_Test/*.Connect_withminimumclientidsize_return_accepted --gtest_color=no
